]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Main: fix ctrl-alt-arrow in the overview
authorGiovanni Campagna <gcampagna@src.gnome.org>
Wed, 27 Jun 2012 20:12:40 +0000 (22:12 +0200)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Wed, 27 Jun 2012 20:17:47 +0000 (22:17 +0200)
Fixes a regression introduced in de72065, which changed the method names
but forgot to update this code path.

https://bugzilla.gnome.org/show_bug.cgi?id=679005

js/ui/main.js

index b2ef94dd0ff801197e98ab9d13205167b7af1505..501af0441530a0b975354a9a422813b93a31374b 100644 (file)
@@ -611,13 +611,13 @@ function _globalKeyPressHandler(actor, event) {
             if (!sessionMode.hasWorkspaces)
                 return false;
 
-            wm.actionMoveWorkspaceUp();
+            wm.actionMoveWorkspace(Meta.MotionDirection.UP);
             return true;
         case Meta.KeyBindingAction.WORKSPACE_DOWN:
             if (!sessionMode.hasWorkspaces)
                 return false;
 
-            wm.actionMoveWorkspaceDown();
+            wm.actionMoveWorkspace(Meta.MotionDirection.DOWN);
             return true;
         case Meta.KeyBindingAction.PANEL_RUN_DIALOG:
         case Meta.KeyBindingAction.COMMAND_2: